import request from '../utils/request'

export default{

    //请假申请
    saveLeave(data){
        return request.post(`/api/management-center/leave/save`,data)
    },
    //获取所有请假
    list(data){
        return request.post(`/api/management-center/leave/page`,data)
    },
}